package com.zhiche.lisa.lspm.dao.model.weiXin;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 微信使用状况导出
 * </p>
 *
 * @author zhangkun
 * @since 2018-10-24
 */
@TableName("lisa_weixin_export")
public class WeiXinExport extends Model<WeiXinExport> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 调度时间
     */
	private Date dtship;
    /**
     * 启运地
     */
	private String origin;
    /**
     * 发运总数
     */
	@TableField("ship_count")
	private Integer shipCount;
    /**
     * 使用报班数
     */
	@TableField("queue_count")
	private Integer queueCount;
    /**
     * 最后请求的时间戳
     */
	@TableField("last_time_stamp")
	private String lastTimeStamp;
    /**
     * 10:响应成功
     */
	private String status;
    /**
     * 创建时间
     */
	@TableField("gmt_create")
	private Date gmtCreate;
    @TableField(exist = false)
    private double rate;
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getDtship() {
		return dtship;
	}

	public void setDtship(Date dtship) {
		this.dtship = dtship;
	}

	public String getOrigin() {
		return origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public Integer getShipCount() {
		return shipCount;
	}

	public void setShipCount(Integer shipCount) {
		this.shipCount = shipCount;
	}

	public Integer getQueueCount() {
		return queueCount;
	}

	public void setQueueCount(Integer queueCount) {
		this.queueCount = queueCount;
	}

	public String getLastTimeStamp() {
		return lastTimeStamp;
	}

	public void setLastTimeStamp(String lastTimeStamp) {
		this.lastTimeStamp = lastTimeStamp;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public double getRate() {
		return rate;
	}

	public void setRate(double rate) {
		this.rate = rate;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "WeiXinExport{" +
				"id=" + id +
				", dtship=" + dtship +
				", origin='" + origin + '\'' +
				", shipCount=" + shipCount +
				", queueCount=" + queueCount +
				", lastTimeStamp='" + lastTimeStamp + '\'' +
				", status='" + status + '\'' +
				", gmtCreate=" + gmtCreate +
				", rate=" + rate +
				'}';
	}
}
